package cn.wolfcode.feign;


import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.OperateIntergralVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("intergral-service")
public interface IntegralFeignApi {
    @RequestMapping("/intergral/minusPoints")
    Result<String> reducePoints(@RequestBody OperateIntergralVo op);

    @RequestMapping("/intergral/refundIntergal")
    Result<String> refundIntergal(@RequestBody OperateIntergralVo op);
}
